﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>臻蓝网络管理系统</title>
    
<!--#include file="Include/include.inc" -->

<script type="text/javascript">
    $(function() {
        DWZ.init("dwz.frag.xml", {
            //		loginUrl:"loginsub.html",
            loginUrl: "/SystemManage/Login/LoginDialog.aspx", // 跳到登录页面
            loginTitle:"登录",	// 弹出登录对话框，不指定时为页面跳转
            statusCode: { ok: 200, error: 300, timeout: 301 }, //【可选】
            pageInfo: { pageNum: "pageNum", numPerPage: "numPerPage", orderField: "orderField", orderDirection: "orderDirection" }, //【可选,这里自定义分页参数】
            debug: false, // 调试模式 【true|false】
            callback: function() {
                initEnv();
                $("#themeList").theme({ themeBase: "themes" });
            }
        });
    });
</script>
</head>
<body>
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<ul class="nav">
				  <li><a href="#">欢迎您：<%=ZLCMS.Business.Util.UserKit.GetUserAccount() %></a></li>
					<li><a href="/SystemManage/Basics/RightConfig/User/ChangePassword.aspx" target="dialog" width="600">更换密码</a></li>
					<li><a href="/SystemManage/Login/Logout.aspx">退出</a></li>
				</ul>
			</div>
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>

				<div class="accordion" fillSpace="sidebar">
	<%=GetMenuString() %>
				</div>

			</div>
		</div>
				<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:void(0)"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:void(0)">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
				
					<div class="page">
<div class="pageContent" layoutH="10">



	<fieldset class="homeboard" style="width:400px;margin:5px;float:left;height:200px;" >
		<legend style="height: 25px; padding: 12px 5px 0px 10px;">订单概况</legend>
		<ul style="">
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Order/OrderList.aspx?confirm=0&cancel=0" target="navTab" title="订单信息">待审核（<%=UnConfirmed%>）</a></div>
			</li>
    <% if (_userAccount == "admin"){ %>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Order/OrderList.aspx?pay=0&cancel=0" target="navTab" title="订单信息">待支付（<%=UnPayed%>）</a></div>
			</li>
    <%} %>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Order/OrderList.aspx?shipping=0&cancel=0" target="navTab" title="订单信息">待发货（<%=UnSended%>）</a></div>
			</li>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Order/OrderList.aspx?shipping=1&finish=0&cancel=0" target="navTab" title="订单信息">待签收（<%=UnFinished%>）</a></div>
			</li>
            

		</ul>
	</fieldset>
    <% if (_userAccount == "admin"){ %>
		<fieldset class="homeboard" style="width:400px;margin:5px;float:left;height:200px;" >
		<legend style="height: 25px; padding: 12px 5px 0px 10px;">产品概况</legend>
		<ul style="">
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/ProductSKU/ProductList.aspx?status=1" target="navTab" title="商品信息">上架商品（<%=SellingProduct%>）</a></div>
			</li>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Product/ProductStorageList.aspx?minStorage=0&maxStorage=<%=ZLCMS.Business.Util.ParamKit.GetValue("SystemConfig", "StorageAlarm", "100") %>" target="navTab" title="商品信息">库存告警（<%=FewStorage%>）</a></div>
			</li>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Product/ProductSalesSummary.aspx?start=<%=string.Format("{0:yyyy-MM-dd}",new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1)) %>" target="navTab" title="销量汇总">本月销售额（￥<%=SellCount%>）</a></div>
			</li>
		</ul>
	</fieldset>
    	<fieldset class="homeboard" style="width:400px;margin:5px;float:left;height:200px;" >
		<legend style="height: 25px; padding: 12px 5px 0px 10px;">会员概况</legend>
		<ul style="">
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Member/MemberList.aspx" target="navTab" title="会员信息">会员总数（<%=MemberCounter%>）</a></div>
			</li>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Member/MemberList.aspx" target="navTab" title="会员信息">当日新增（<%=TodayMemberCounter%>）</a></div>
			</li>            

		</ul>
	</fieldset>
    <%} %>


    <fieldset class="homeboard" style="width:400px;margin:5px;float:left;height:200px;" >
		<legend style="height: 25px; padding: 12px 5px 0px 10px;">售后概况</legend>
		<ul style="">
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/OrderReturns/OrderReturnsList.aspx?confirm=0&cancel=0" target="navTab" title="售后处理">待确认（<%=OrderReturnsConfirmed%>）</a></div>
			</li>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/OrderReturns/OrderReturnsList.aspx?process=0&confirm=1&cancel=0" target="navTab" title="售后处理">待处理（<%=OrderReturnsProcess%>）</a></div>
			</li>
			<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/OrderReturns/OrderReturnsList.aspx?finish=0&process=1&cancel=0" target="navTab" title="售后处理">待确认（<%=OrderReturnsFinished%>）</a></div>
			</li>
		<%--	<li style="height: 30px; margin-left: 80px;font-size: 16px;">
            <div><a href="/SystemManage/Basics/Shop/Order/OrderList.aspx?shipping=1&finish=0" target="navTab" title="订单信息">待签署（<%=UnFinished%>）</a></div>
			</li>--%>
            

		</ul>
	</fieldset>
</div>	
					</div>
				
				</div>
			</div>
		</div>

	</div>

	<div id="footer">Copyright &copy; 2010&nbsp;</div>

</body>
</html>